#!/usr/bin/env node
let msg='hello,开心果';

let utf8 = Buffer.from(msg,'utf8');
let utf16le = Buffer.from(msg,'utf16le')
console.log(utf8);
console.log(utf16le);

//decoding

console.log(utf8.toString('utf8'))
console.log(utf16le.toString('utf16le'))

